<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改商品页面</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
</head>
<body>

	<form
		action="${pageContext.request.contextPath }/admin/updateGoods.action"
		method="post" enctype="multipart/form-data">
		<b>修改商品信息：</b> <input type="hidden" name="goodsId"
			value="${goodsCustom.goodsId }" />
		<table width="70%" border=1 cellpadding="0" cellspacing="0" align="center"
		height="500px"
		>
			<tr bgcolor="#CCFFFF">
				<td width="20%">商品品牌</td>
				<td width="80%"><select name="goodsBrand">
						<option value="联想">联想</option>
						<option value="华硕">华硕</option>
						<option value="戴尔">戴尔</option>
						<option value="惠普">惠普</option>
				</select>
				</td>
			</tr>

			<tr bgcolor="#CCFFFF">
				<td>商品名称</td>
				<td><input type="text" name="goodsName"
					placeholder="${goodsCustom.goodsName }" /></td>
			</tr>




			<tr bgcolor="#CCFFFF">
				<td>商品描述</td>	<td><textarea rows="1" cols="45" name="goodsDescription"
						placeholder="${goodsCustom.goodsDescription }"></textarea>
				</td>
			</tr>
			
			
			
			<tr bgcolor="#CCFFFF">
				<td>商品库存</td>	<td><input type="text" name="goodsNumber"
					placeholder="${goodsCustom.goodsNumber }" /></td>
			</tr>
			
			
			
			<tr bgcolor="#CCFFFF">
				<td>商品价格</td>	<td><input type="text" name="goodsPrice"
					placeholder="${goodsCustom.goodsPrice }" />
				</td>
			</tr>
			
			
			
			<tr bgcolor="#CCFFFF">
			<td>商品类型</td>
				<td><select name="goodsType">
						<option value="笔记本">笔记本</option>
						<option value="台式机">台式机</option>
						<option value="游戏本">游戏本</option>
						<option value="一体机">一体机</option>

				</select></td>
			</tr>
			<tr>
				<td><a href="#"><img
						src="${goodsCustom.uploadLocation }${goodsCustom.uploadName }" />
				</a></td>
				<td></td>
			</tr>
			<tr>
				<!-- 可能要修改这里 -->
				<td><input type="file" name="updateName"></td>
					<td><input type="submit" value="确认" />
				</td>
				<td></td>
			</tr>
			
			
			

		</table>
	</form>
</body>
</html>